package com.learn.my;

public class Test001 {


    static {
        System.out.println("静态代码块初始化");
        age=700;
    }
    private static int age=500;

    public Test001() {
        System.out.println("构造函数初始化");
    }


    public static void main(String[] args){
        Test001 test001=new Test001();
        Test001 test002=new Test001();
        System.out.println(test001.age);
    }
}
